import Vue from 'vue'
import Vuex from 'vuex'
import { permission } from './modules/permission'
import user from './modules/user'
import { getters } from './getters'
import app from './modules/app'
import tagsView from './modules/tagsView'
Vue.use(Vuex)

export default new Vuex.Store(
    {
        modules: {
            user,
            permission,
            app,
            tagsView,
        },
        getters
    }
)
